package com.itheima.service;

import com.github.pagehelper.PageInfo;
import com.itheima.domain.Movies;

public interface MoviesService {

    PageInfo<Movies>  findByPage(Integer pageNum,Integer pageSize);

    PageInfo<Movies> findByPage(Integer pageNum, Integer pageSize, Integer cid, String keyword);

    void save(Movies movies);

    Movies findById(Integer id);

    void deleteById(Integer id);

    void deleteBatch(Integer[] ids);
}
